package com.gwclh.personnel.vo.operlogvo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gwclh.personnel.entity.OperationLog;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value = "操作记录vo")
@Accessors(chain = true)
@Data
public class OperLogVo extends OperationLog {
    @ApiModelProperty(value = "查询开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;

    @ApiModelProperty(value = "查询结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

}
